projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a9e86e
)
(create_process): Use SETUP_SLAVE_PTY only if pty_flag.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Apr 1994 03:06:55 +0000
(
03:06
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Apr 1994 03:06:55 +0000
(
03:06
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index c2b086e810df634a5dbceddbe5a7403e7682b97c..c7262fc79e895b30d611228db5db8b8b236452e5 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1349,7
+1349,10
@@
create_process (process, new_argv, current_dir)
}
#endif /* not UNIPLUS and not RTU */
#ifdef SETUP_SLAVE_PTY
- SETUP_SLAVE_PTY;
+ if (pty_flag)
+ {
+ SETUP_SLAVE_PTY;
+ }
#endif /* SETUP_SLAVE_PTY */
#ifdef AIX
/* On AIX, we've disabled SIGHUP above once we start a child on a pty.